# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年09月28日
"""
import pandas as pd

# data = pd.Series(['孙兴华','男',20,'2000-10-7'],index=['a','b','c','d'])
dict = {'姓名':'孙兴华','性别':'男','年龄':20,'地址':'地球村'}
data = pd.Series(dict)
print(data[['姓名', '年龄']])